package com.whitlock.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whitlock.backend.entity.TKUser;

/**
 * @author Whitlock
 * @date 2020/7/9   11:02 上午
 */
public interface UserService extends IService<TKUser> {


    /**
     * 用户登录
     * @param user
     * @return
     */
    public TKUser login(TKUser user);
    //删除用户
    public void deleteUser(String id);
    //更新用户
    public void updateUser(TKUser user);
    //新增用户
    public void addUser(TKUser user);
    //查询用户
    //public List queryList(TKUser user);

}
